var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(e, d, c) {
    if (status == 0 && e == 0) {
        im.dispose();
        return
    }(e == 1) ? status++ : status--;
    selectionLog[status] = c;
    var b = -1;
    if (status <= b++) {
        im.dispose()
    } else {
        if (status === b++) {
            var f = im.getItemId();
            var a = im.getMapId();
            im.sendOkS("赶紧去#b石塔1#k里试试这灌秘药吧。")
        } else {
            im.dispose()
        }
    }
};